home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-01-12 | 546 b | 10 lines | [TEXT/ToyS] |
- on run
- tell application "Finder" to set p to ["Finder"] & name of processes
- set d to dd auto dialog {size:[260, 295], contents:[¬
- {class:push button, bounds:[190, 265, 250, 285], name:"OK", enabled:4}, ¬
- {class:push button, bounds:[110, 265, 170, 285], name:"Cancel"}, ¬
- {class:static text, bounds:[10, 10, 250, 26], contents:"Choose an application:"}, ¬
- {class:list box, bounds:[20, 40, 240, 240], contents:p, action:1}] ¬
- , timeout after:60} with grayscale
- if item 1 of d then activate application (item (item 4 of d) of p)
- end run